#region Using directives
using System;
using System.Collections.Generic;
using System.Text;
using webapp4U.DAL;
#endregion


namespace webapp4U.BOL
{
    public class HitCounter : BizObject
	 {
         #region Member Variables

         private Int32 _hitcounterID;

         private String _page_name;

         private String _page_url;

         private Int32 _counter;

         #endregion



         #region Public Properties

         public Int32 HitCounterID
         {
             get { return _hitcounterID; }
             set { _hitcounterID = value; }
         }

         public String PageName
         {
             get { return _page_name; }
             set { _page_name = value; }
         }

         public String PageUrl
         {
             get { return _page_url; }
             set { _page_url = value; }
         }

         public Int32 Counter
         {
             get { return _counter; }
             set { _counter = value; }
         }            
         
         #endregion


	     #region public static Methods

        

       
         
	     public static bool Save(HitCounter obj)
	     {
		     HitCounterDAL db = new HitCounterDAL();
		     return db.Save(obj);
	     }

	     //Get All FAQ
	     public static List<HitCounter> GetAllHitCounter()
	     {
		     HitCounterDAL db = new HitCounterDAL();
		     return db.GetHitCouterAll();
	     }

         
	     #endregion
	 }
}
